package com.honestpeak.datafusion.utils;

import net.sf.json.JSONArray;

import java.util.List;
import java.util.Map;

/**
 * @Auther: apple
 * @Date: 2018/8/25 11:27
 * @Description:
 */
public class Streamutils {

    public static JSONArray list2Json(List<Map<String, Object>> list){
        JSONArray json = JSONArray.fromObject(list);
        return json;
    }

}
